package com.cherrypt.api.model.dto;

import com.cherrypt.api.model.dataobject.CategoryQuality;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author intent
 * @date 2019/8/3 15:16
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@Setter
@ToString
public class CategoryDto {
    private Integer id;
    private String name;
    private CategoryQuality quality;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String description;
}
